<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
  //ES6引入新的声明字符串的方式[``]
  //1.声明
  let str = `我是一个字符串`;
  console.log(str,typeof str);

  //2.内容中可以直接出现换行符
  let str2 = `<ul>
                <li>ss</li>
                <li>tt</li>
                <li>rr</li>
                </ul>`;

  //3.变量拼接
  let lovest = 'ws';
  let out = `${lovest} xxx is best`;
  console.log(out);


</script>
</body>
</html>